package org.young.rbac.service;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.apache.shiro.spring.boot.autoconfigure.ShiroAnnotationProcessorAutoConfiguration;
import org.apache.shiro.spring.boot.autoconfigure.ShiroAutoConfiguration;
import org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author lmhd-emp
 * @date 2021/4/26 15:29
 * @description:
 */
@SpringBootApplication(exclude = { ShiroAnnotationProcessorAutoConfiguration.class, ShiroAutoConfiguration.class, ShiroBeanAutoConfiguration.class })
@ComponentScan(basePackages = "org.young")
@MapperScan("org.young.rbac.dao.mapper")
@EnableDubbo
public class RbacServiceApplication {

	public static void main(String[] args) {
		SpringApplication.run(RbacServiceApplication.class, args);
	}
}
